<template>
  <div class="index">
    <div class="main"><router-view /></div>
    <div class="foooter">
      <van-tabbar route placeholder >
        <van-tabbar-item icon="home-o" to="/index/home">首页</van-tabbar-item>
        <van-tabbar-item icon="search" to="/index/forum">论坛</van-tabbar-item>
        <van-tabbar-item icon="friends-o" to="/index/choose">选车</van-tabbar-item>
        <van-tabbar-item icon="setting-o" to="/index/site">北京</van-tabbar-item>
        <van-tabbar-item icon="setting-o" to="/index/my">我</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script>
export default {
  name: "index",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.index{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .main{
        flex: 1;
        overflow-y: auto;
    }
    
}
</style>